package org.web.ssm.dao;

import org.web.ssm.model.Comment;
import org.web.ssm.model.Product;
import org.web.ssm.model.queryVo.BaseQuery;

import java.util.List;

/**
 * Created by hubin on 2016/6/15.
 */

public interface CommentMapper {

    /**
     * 获取评论
     *
     * @return
     * @throws Exception
     */
    List<Comment> listByTopic(int id) throws Exception;

    /**
     * 评论
     *
     * @return
     * @throws Exception
     */
    void commrntTopic(Comment comment) throws Exception;
}
